import { createApp } from 'vue'
import App from './App.vue'
import './assets/tw.css'
import Vant from 'vant'
import 'vant/lib/index.css'
import axios from './plugins/axios'
import dayjs from './plugins/dayjs'
import global from './plugins/global'
import store from './store'
import router from './router'
import { Lazyload } from 'vant'

const app = createApp(App)
app.config.compilerOptions.isCustomElement = tag => tag.startsWith('wx-open-launch-weapp')

  app.use(store)
  .use(Lazyload)
  .use(router)
  .use(axios)
  .use(dayjs)
  .use(global)
  .use(Vant)
  .mount('#app')
